package com.qzyh.esb.egsa.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzyh.esb.egsa.bean.vo.RequirementContentVO;
import com.qzyh.esb.egsa.entity.Requirement;
import com.qzyh.esb.egsa.entity.RequirementContent;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qzyh.esb.egsa.utils.ResultObject;

import java.util.List;

/**
 * <p>
 * 需求内容表 服务类
 * </p>
 *
 * @author whq
 * @since 2023-09-19
 */
public interface IRequirementContentService extends IService<RequirementContent> {

    IPage<RequirementContentVO> getList(IPage<RequirementContentVO> page, String requirementName, String requirementNum, String serviceScence, String startDate, String endDate, String status);

    ResultObject saveOrUpdateRequirementInfo(RequirementContent requirementContent);

    ResultObject<List<Requirement>> getRequirementList(String keywords);

    ResultObject changeStatus(String id, String type);
}
